package com.igeekhome.mapper;

import com.igeekhome.pojo.DExpressCompany;
import com.igeekhome.pojo.DExpressCompanyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DExpressCompanyMapper {
    int countByExample(DExpressCompanyExample example);

    int deleteByExample(DExpressCompanyExample example);

    int deleteByPrimaryKey(Integer expressCompanyId);

    int insert(DExpressCompany record);

    int insertSelective(DExpressCompany record);

    List<DExpressCompany> selectByExample(DExpressCompanyExample example);

    DExpressCompany selectByPrimaryKey(Integer expressCompanyId);

    int updateByExampleSelective(@Param("record") DExpressCompany record, @Param("example") DExpressCompanyExample example);

    int updateByExample(@Param("record") DExpressCompany record, @Param("example") DExpressCompanyExample example);

    int updateByPrimaryKeySelective(DExpressCompany record);

    int updateByPrimaryKey(DExpressCompany record);


    /**
     * 承运商的批量删除
     * @param idsStr id字符串
     * @return int 操作行数
     */
    int deleteByIdStr(String idsStr);
}